package com.hs.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.Coursetalk;
import com.hs.sfzy.entity.UserCourse;

import java.util.List;

public interface CoursetalkService {
    int delete(Long id);

    List<Coursetalk> selectAll(Coursetalk coursetalk);

    Coursetalk selectById(Long id);

    PageInfo<Coursetalk> selectByPageInfo(int pageNum, int pageSize, Coursetalk coursetalk);

    List<Coursetalk> selectByCourseId(Long courseId);

    int insert(Coursetalk coursetalk);
}
